import React from 'react';

function Groups(props: any) {
  console.log(props.children);
  React.Children.forEach(props.children, item => {
    console.log(item.props); //依次打印 props
  });
  return props.children;
}

export default Groups;
